package com.seis_645.appTesting;

public class Car {
	
	private long id;
	private String make;
	private String model;
	private int year;
	private String pkage;
	private int gmHwy; 
	private int gmCity;
	private double price;
	private int driveablility;
	private int comfort;
	private int apperance;
	private int safety;
	private int accessories;
	
	
	public void set_id(long id) {
		this.id = id;
	}

	public long get_id() {
		return this.id;
	}
	
	
	public void set_make(String make){
		this.make = make;
	}
	
	public void set_model(String model){
		this.model =model;
	}
	public void set_year(int year){
		this.year = year;
	}
	public void set_package(String pkage){
		this.pkage = pkage;
	}
	
	public void set_gmHwy(int gmHwy) {
		this.gmHwy = gmHwy;
	}
	
	public void set_gmCity(int gmCity) {
		this.gmCity = gmCity;
	}
	
	public void set_price(double price) {
		this.price = price;
	}
	
	public void set_driveablility(int driveablility)
	{ this.driveablility = driveablility;}
	
	public void set_comfort(int comfort)
	{this.comfort = comfort;}
	
	public void set_apperance(int apperance)
	{this.apperance = apperance;}
	
	public void set_safety(int safety)
	{this.safety = safety;}
	
	public void set_accessories(int accessories)
	{this.accessories = accessories;}
	
	
	public String get_make(){
		return make;
	}
	
	public String get_model(){
		return model;
	}
	
	public int get_year(){
		return year;
	}
	
	
	public String get_pkage(){
		return pkage;
	}
	
	public int get_gmHwy() {
		return gmHwy;
	}

	public int get_gmCity() {
		return gmCity;
	}	

	public double get_price() {
		return price;
	}
	
	public int get_driveablility() {
		return driveablility;
	}
	
	public int get_comfort() {
		return comfort;
	}
	
	public int get_apperance() {
		return apperance;
	}
	
	public int get_safety() {
		return safety;
	}
	
	public int get_accessories() {
		return accessories;
	}
	
	
	public Car(String make, String model, int year, String pkage, int gmHwy, int gmCity, int price, int driveability, int comfort, 
			int apperance, int safety, int accessories)
	{
		this.make = make;
		this.model = model;
		this.year = year;
		this.pkage = pkage;
		this.gmHwy = gmHwy;
		this.gmCity = gmCity;
		this.price = price;
		this.driveablility = driveability;
		this.comfort = comfort;
		this.apperance = apperance;
		this.safety = safety;
		this.accessories = accessories;
	}	
		

	public Car(){
		this.make = "";
		this.model = "";
		this.year = 1900;
		this.pkage = "";
		this.gmHwy = 20;
		this.gmCity = 15;
		this.price = 10000;
		this.driveablility = 3;
		this.comfort = 3;
		this.apperance = 3;
		this.safety = 3;
		this.accessories = 3;
	}


	
	@Override
	public String toString() {
		return Integer.toString(year) + " " + make + " " + model + " " + pkage;
	}

}
